
import com.tomasio.projects.welcome.SimpleCartaoService;
import com.tomasio.projects.welcome.dto.CartaoDTO;
import com.tomasio.projects.welcome.interfaces.CartaoService;
import com.tomasio.projects.welcome.model.Cartao;
import com.tomasio.projects.welcome.model.TipoCartao;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Install
 */
public class TestCreationOfCartao {
    public static void main(String[] args) {
        CartaoService service = new SimpleCartaoService();
        CartaoDTO cartao = new CartaoDTO();
        cartao.setLabel("13");
        cartao.setNumero("7685948567690");
        cartao.setTipo(TipoCartao.VISITA);
       service.createCartao(cartao);
    }
}
